export default function sumReportData(reportData) {
  const obj = {
    readBookCount: 0,
    recordingShareCount: 0,
    wordCount: 0,
    studySeconds: 0
  };

  reportData.map(report => {
    Object.keys(obj).map(_key => {
      obj[_key] = report[_key] + obj[_key]
    })
  })

  return obj
}
